Skip to main content

Environment Variables

namedescriptionrequireddefaults
SESSION_COOKIE_SECRETSSecret used to sign session cookiestrueiguhealth
FHIR_DATABASE_NAMEPostgres database name.trueiguhealth
FHIR_DATABASE_HOSTPostgres hosttruelocalhost
FHIR_DATABASE_PORTPostgres porttrue5432
FHIR_DATABASE_PASSWORDpostgres passwordtrue
FHIR_DATABASE_USERNAMEpostgres usernametruepostgres
FHIR_DATABASE_SSLWhether Postgres connection is SSLfalsefalse
REDIS_HOSTRedis hosttrue127.0.0.1
REDIS_PORTRedis porttrue6379
REDIS_SSLWhether Redis connection is SSLfalsefalse
FHIR_DELETE_CONDITIONAL_LIMITMaximum total number of records to delete in a single conditional delete operationfalse20
API_URLCurrent url where API is hosted from (used in operation execution clients).true
AWS_REGIONAWS Region where you want lambdas to be executed from.false
AWS_LAMBDA_ROLEExecution role of lambda functions.false
AWS_LAMBDA_ACCESS_KEY_IDAccess key id for lambda (must have permission to invoke and create lambda functions)false
AWS_LAMBDA_ACCESS_KEY_SECRETAccess key secret for lambda (must have permission to invoke and create lambda functions).false
AWS_LAMBDA_LAYER_ARNARN Layer for lambda (current expectation is layer installed with all @iguhealth packages).false
AUTH_PUBLIC_ACCESSSets the server to allow full public access when set to true.falsefalse
AUTH_ALLOW_GLOBAL_SIGNUPSets whether to allow global signup for users.falsefalse
AUTH_ALLOW_TENANT_SIGNUPSets whether to allow tenant signup for users.falsefalse
AUTH_ISSUERThe issuer of the tokenstrue
AUTH_LOCAL_CERTIFICATION_LOCATIONLocation for local certifications for IGUHEALTH ISSUERtrue
AUTH_LOCAL_SIGNING_KEYThe signing key used to generate new local tokenstrue
EMAIL_PROVIDERSet the email provider.false
EMAIL_SENDGRID_API_KEYSet the sendgrid api key (only used on email provider set to sendgrid).false
EMAIL_FROMSet the email from address.false
ENCRYPTION_TYPEThe type of encryption (used to encrypt user secrets)false
AWS_KMS_ACCESS_KEY_IDKMS client access key IDfalse
AWS_KMS_ACCESS_KEY_SECRETKMS client access key secretfalse
AWS_ENCRYPTION_GENERATOR_KEYKMS key used to generate data keys on keyringfalse
AWS_ENCRYPTION_KEYAdditional KMS key used for encryptionfalse
POSTGRES_TRANSACTION_ENTRY_LIMITPostgres transaction entry limitfalse20
SENTRY_SERVER_DSNSentry DSN URL for monitoring errors and performance.false
SENTRY_WORKER_DSNSentry Worker for monitoring errors and performance on workerfalse
SENTRY_TRACES_SAMPLE_RATESentry sample rate.false
SENTRY_PROFILES_SAMPLE_RATESentry profiles rate.false
ADMIN_APP_REDIRECT_URIRedirect URI for admin appfalse
PROXYWhether behind proxy and server should use X-Forwarded-For header.falsefalse
PROXY_IP_HEADERHeader to derive the users IP address fromfalsefalse